<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数组练习</title>
		<script>
			var arr01=new Array;
			arr01=[3,5,1.23];
			console.log(arr01);
			console.log(arr01.length)
			var arr02=[];
			console.log(arr02.length)
			var arr03=[5,"AA",new Object(),true];
			for(var i in arr03){
				console.log(arr03[i])
			}
			function c(){
				var arr04=[];
				while(true){
					var x=prompt("请输入内容");
					arr04[arr04.length]=x;
					if(x=="next")
					{break;}
				}
				console.log(arr04);
			}
			// c();
			var arr05=[];
			var arr06=[11,1.33,"sadasd",false];
			console.log(arr06);
			console.log(arr05.length);
			console.log(arr06.length);
			arr05[99]=123;
			console.log(arr05.length);
			for(var i in arr05){
				console.log(arr05[i]);
			}
		    var arr07=new Array(123,"aass",true);
			console.log(arr07);
			console.log(arr07.length);
		</script>
	</head>
	<body>
	</body>
</html>
